using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class LosePanel : BasePanel<LosePanel>
{

    public CustomGUIButton btnReturn;
    public CustomGUIButton btnTryAgain;
    
    private void Start()
    {
        btnReturn.clickEvent += () =>
        {
            Time.timeScale = 1;

            SceneManager.LoadScene("BeginScene");
        };

        btnTryAgain.clickEvent += () =>
        {
            Time.timeScale = 1;

            SceneManager.LoadScene("GameScene");

        };

        HideMe();


    }


}
